﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Office Online - Login</title>
    <link rel="Stylesheet" href="Main/css/main.css" />
    <style type="text/css">
        *
        {
             font-family:Arial;
             margin: 0 0 0 0;
             padding: 0 0 0 0;
        }
    </style>
</head>
<body style="margin: 0 0 0 0">
    <form id="form1" runat="server">
    <div>
        <div id="divHeader">
            <h1>Office Online Web Collaboration System</h1>
        </div>
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%; padding-top: 50px;">
            <tr>
                <td  align="center">
                    <table border="0" cellpadding="0" cellpadding="0" 
                        style="border: 2px solid black; width:150px; height: 130px;"
                        >
                        <tr>
                            <td colspan="2" style="background-color: steelblue; color:White;">
                                <h4 style="padding-left:3px;">User Login</h4>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-left:15px">Username:</td>
                            <td style="padding-right:15px"><asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="padding-left:15px">Password:</td>
                            <td style="padding-right:15px"><asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td colspan="2" style="padding-left:15px">
                                <asp:CheckBox ID="chkRememberUser" runat="server" Text="&nbsp;Remember me next time." />
                            </td>
                        </tr>
                        <tr id="trResponse" runat="server" visible="false" align="center">
                            <td colspan="2"><asp:Label id="lblResponse" runat="server" ForeColor="Red"></asp:Label></td>
                        </tr>
                        <tr>
                            <td  align="right" colspan="2" style="padding-right:15px"> 
                                <asp:Button ID="btnLogin" runat="server" Text="Log In" Width="75px" 
                                    onclick="btnLogin_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
